const _root = 'https://api.dsnbc.com/';
// const _root = 'https://local.dsnbc.com/';
export const apis = {
    oss:`${_root}upload`,//文件上传
    osslib:`${_root}osslib`,//添加新图片
    subscribeAPI: `${_root}subscribes`, //订阅
    indexApi: `${_root}getwebindexinfoapi`, //获取网站首页数据
    aboutAPI: `${_root}getaboutxinfoapi`, //获取网站首页数据
    advantoageAPI: `${_root}getadvantoageinfoapi`, //获取网站首页数据
    dynamicinfoAPI: `${_root}getdynamicinfoapi`, //获取动态列表
    getDynamicAPI: `${_root}getindexdynamiclistdata`, //只获取动态列表
    getDynamicDetailAPI: `${_root}getdynamicdetailapi`, //只获取动态详情
    getmenuandcopysAPI: `${_root}getmenuandcopys`, //只获取顶部和底部信息
    getCheckCodeAPI: `${_root}getindexcheckcode`, //获取验证码
    userLoginAPI: `${_root}loginindexusers`, //用户登录
    updateeuserAPI: `${_root}updateindexusers`, //更新用户数据
    getIndustyAPI: `${_root}getindexindusty`, //获取行业
    getProductAPI: `${_root}getindexproduct`, //获取产品
    submitDemandAPI: `${_root}submitdemands`, //提交需求
    submitCommentAPI: `${_root}submitindexcomment`, //提交评论
    getCommentAPI: `${_root}getindexcomments`, //获取评论列表
    doindexpcalipay: `${_root}doindexpcalipay`, //创建支付
    registerAPI: `${_root}register`, //用户注册
    searchAPI:`${_root}searchdynamicdatas`,//搜索文章
    zansAPI:`${_root}zans`,//点赞
    collectsAPI:`${_root}collects`,//收藏
    getCollectsAPI:`${_root}collectslist`,//获取收藏列表
    getMemberAPI:`${_root}getmemberinfo`,//获取个人中心信息
    getOtherCheckcodeAPI:`${_root}checkcodes`,//获取邮箱验证码
}